package Gather;

/**
 * Created by dycong on 2017/3/3.
 * todo 查看反编译文件观察JVM实际执行方式
 */
public class DeCompile {

    private static final int LIGHT_SPEED = 30 * 10000 * 1000;

    public static void main(String[] args) {

        long dis=LIGHT_SPEED*8*60;                  //-2028888064

        long dis1=LIGHT_SPEED*8*60*1L;              //-2028888064

        long dis2=1L*LIGHT_SPEED*8*60;              //144000000000

        System.out.println(dis+"--"+dis1+"--"+dis2);
        System.out.println(Integer.valueOf(12)==12);
        System.out.println(Integer.valueOf(12)==12L);
        System.out.println(Integer.valueOf(12)==Integer.valueOf(12));
        System.out.println(Integer.valueOf(12)==new Integer(12  ));

        t(12);
        t(Long.valueOf(12));
        t(Integer.valueOf(12));

    }
    public static void t(long l){
        System.out.println("long");
    }
    public static void t(Long l){
        System.out.println("Long");
    }

    public static void myCompare(Integer i,Integer j){
        System.out.println(i==j);
        System.out.println(i>j);
        System.out.println(i<j);
        System.out.println(i.compareTo(j));
    }

}
